﻿using Newtonsoft.Json;
using Nop.Plugin.Api.DTO.Base;

namespace Nop.Plugin.Api.DTO
{
    [JsonObject(Title = "country")]
    public class CountryDto : BaseDto
    {
        [JsonProperty("name")]
        public string Name { get; set; }

        [JsonProperty("allows_billing")]
        public bool AllowsBilling { get; set; }

        [JsonProperty("allows_shipping")]
        public bool AllowsShipping { get; set; }

        [JsonProperty("two_letter_iso_code")]
        public string TwoLetterIsoCode { get; set; }

        [JsonProperty("ThreeLetterIsoCode")]
        public string ThreeLetterIsoCode { get; set; }

        [JsonProperty("numeric_iso_code")]
        public int NumericIsoCode { get; set; }

        [JsonProperty("subject_to_vat")]
        public bool SubjectToVat { get; set; }
    }
}
